<?php if(!defined('APP_NAME')) exit;?>
<div>
	{loop $alist $m}
		问题:{$m['name']}:{$m['content']}<br>
		{if $m['islock']==0}
			回复: {$m['name']}
			<form method="post" action="{url('msg/add')}">
				<input type="hidden" name="replyId" value="{$m['id']}" />
				<!--<label for="title">标题:</label><br />
				<input type="text" name="title" id="title" />-->
				<label for="title">内容:</label><br />
				<textarea name="content" id="content"></textarea><br />
			<input type="submit" id="" name="回复" />
			</form>
		{/if}
			回复列表:{loop $m['replyList'] $r}
				{$r['name']}:{$r['content']}<br>
			{/loop}
		<hr style="border-top: 1px solid #ccc;" />
		
	{/loop}
	<hr />
	<hr />
	<form method="post" action="{url('msg/add')}">
		<label for="title">内容:</label><br />
		<textarea name="content" id="content"></textarea><br />
		<input type="submit" id="" name="提问" />
	</form>
	{$page}
</div>